Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 271 for Ftruncate (0.09 seconds)

  1. cmd/object-api-datatypes.go

    type ListObjectVersionsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of objects exceeds the limit allowed or specified
    	// by max keys.
    	IsTruncated bool
    
    	// When response is truncated (the IsTruncated element value in the response is true),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * {@snippet :
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            MessageDigest md5 = MessageDigest.getInstance("MD5");
            byte[] ipad = new byte[64];
            byte[] opad = new byte[64];
    
            // HMACT64 specific: truncate key to 64 bytes if needed
            int keyLen = Math.min(key.length, 64);
            for (int i = 0; i < keyLen; i++) {
                ipad[i] = (byte) (key[i] ^ 0x36);
                opad[i] = (byte) (key[i] ^ 0x5c);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. internal/s3select/sql/funceval.go

    			return int64(f), true
    		}
    		return 0, false
    	}
    
    	switch x := v.value.(type) {
    	case float64:
    		// Truncate fractional part
    		return int64(x), nil
    	case int64:
    		return x, nil
    	case string:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(x))
    		if !ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertThat(Ascii.truncate("foobar", 6, "…")).isEqualTo("foobar");
        assertThat(Ascii.truncate("foobar", 5, "…")).isEqualTo("foob…");
        assertThat(Ascii.truncate("foobar", 3, "")).isEqualTo("foo");
        assertThat(Ascii.truncate("", 5, "")).isEqualTo("");
        assertThat(Ascii.truncate("", 5, "...")).isEqualTo("");
        assertThat(Ascii.truncate("", 0, "")).isEqualTo("");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/AsciiTest.java

        assertThat(Ascii.truncate("foobar", 6, "…")).isEqualTo("foobar");
        assertThat(Ascii.truncate("foobar", 5, "…")).isEqualTo("foob…");
        assertThat(Ascii.truncate("foobar", 3, "")).isEqualTo("foo");
        assertThat(Ascii.truncate("", 5, "")).isEqualTo("");
        assertThat(Ascii.truncate("", 5, "...")).isEqualTo("");
        assertThat(Ascii.truncate("", 0, "")).isEqualTo("");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                // Fallback: truncate the newest message to fit
                final LlmMessage newest = history.get(history.size() - 1);
                final String truncated = newest.getContent().substring(0, Math.min(budgetChars, newest.getContent().length()));
                request.addMessage(new LlmMessage(newest.getRole(), truncated));
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/HMACT64Test.java

            // Calculate expected HMACT64 result manually
            MessageDigest md5 = MessageDigest.getInstance("MD5");
            byte[] ipad = new byte[64];
            byte[] opad = new byte[64];
    
            // HMACT64 specific: truncate key to 64 bytes if needed
            int keyLen = Math.min(key.length, 64);
            for (int i = 0; i < keyLen; i++) {
                ipad[i] = (byte) (key[i] ^ 0x36);
                opad[i] = (byte) (key[i] ^ 0x5c);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  9. api/go1.16.txt

    pkg syscall (darwin-arm64), func Fstat(int, *Stat_t) error
    pkg syscall (darwin-arm64), func Fstatfs(int, *Statfs_t) error
    pkg syscall (darwin-arm64), func Fsync(int) error
    pkg syscall (darwin-arm64), func Ftruncate(int, int64) error
    pkg syscall (darwin-arm64), func Futimes(int, []Timeval) error
    pkg syscall (darwin-arm64), func Getdirentries(int, []uint8, *uintptr) (int, error)
    pkg syscall (darwin-arm64), func Getdtablesize() int
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Click Count (0)
  10. src/main/assemblies/extension/kibana/fess_log.ndjson

    "position\":\"bottom\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\"},\"labels\":{\"show\":true,\"truncate\":100},\"title\":{}}],\"valueAxes\":[{\"id\":\"ValueAxis-1\",\"name\":\"LeftAxis-1\",\"type\":\"value\",\"position\":\"left\",\"show\":true,\"style\":{},\"scale\":{\"type\":\"linear\",\"mode\":\"normal\"},\"labels\":{\"show\":true,\"rotate\":0,\"filter\":false,\"truncate\":100},\"title\":{\"text\":\"Query Count\"}}],\"seriesParams\":[{\"show\":\"true\",\"type\":\"histogram\",\"m...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Aug 12 01:26:21 GMT 2019
    - 18.2K bytes
    - Click Count (0)
Back to Top