- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for Truncation (0.07 seconds)
-
android/guava/src/com/google/common/base/Ascii.java
* <li>if truncating for display to users, there are other considerations that must be taken * into account * <li>the appropriate truncation indicator may be locale-dependent * <li>it is safe to use non-ASCII characters in the truncation indicator * </ul> * * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code * truncationIndicator} * @since 16.0
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) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
/** * File System Control Code (FSCC) structure for File End-of-File Information. * Used in SMB2/SMB3 operations to set or query the end-of-file position for a file, * effectively controlling file size truncation or extension. * * @author mbechler */ public class FileEndOfFileInformation implements FileInformation, Encodable { private long endOfFile; /** * Default constructor for decoding.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
{"test-bucket-list-object", "/obj", "", "", 0, ListObjectsInfo{}, nil, true}, // Testing with prefix and truncation (29-30). {"test-bucket-list-object", "new", "", "", 1, resultCases[7], nil, true}, {"test-bucket-list-object", "obj", "", "", 2, resultCases[8], nil, true}, // Testing with marker, but without prefix and truncation (31-35). {"test-bucket-list-object", "", "newPrefix0", "", 6, resultCases[9], nil, true},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Ascii.java
* <li>if truncating for display to users, there are other considerations that must be taken * into account * <li>the appropriate truncation indicator may be locale-dependent * <li>it is safe to use non-ASCII characters in the truncation indicator * </ul> * * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code * truncationIndicator} * @since 16.0
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) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
checkSha1("4c9007f4026250c6bc8414f9bf50c86c2d7235da", key, data); } public void testRfc2202_hmacSha1_case5() { byte[] key = fillByteArray(20, 0x0c); String data = "Test With Truncation"; checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data); } public void testRfc2202_hmacSha1_case6() { byte[] key = fillByteArray(80, 0xaa);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
/** All headers. */ public val headers: Headers, /** The body of this request, or null if it has none. This may be truncated. */ public val body: ByteString?, /** The total size of the body of this request (before truncation).*/ public val bodySize: Long, /** * The sizes of the chunks of this request's body, or null if the request's body was not encoded * with chunked encoding. */ public val chunkSizes: List<Int>?, /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 3.2K bytes - Click Count (1) -
src/test/java/jcifs/util/InputValidatorTest.java
assertEquals("teststring", InputValidator.sanitizeForLogging("test\rstring")); assertEquals("teststring", InputValidator.sanitizeForLogging("test\tstring")); // Test long string truncation String longString = "a".repeat(1100); String sanitized = InputValidator.sanitizeForLogging(longString); assertEquals(1000, sanitized.length()); assertTrue(sanitized.endsWith("..."));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBUtil.writeInt2(128, buffer, 56); // Security buffer offset // writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464 SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer, // let's test the actual validation logic instead
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
assertFalse(result.endsWith("...")); } @Test public void test_normalizeScript_truncateBeforeReplace() { // Script with control chars beyond the truncation point StringBuilder sb = new StringBuilder(); for (int i = 0; i < 97; i++) { sb.append("x"); } for (int i = 0; i < 53; i++) { sb.append("\n"); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 24.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
final Map<String, Object> doc = new HashMap<>(); doc.put("title", "Document " + i); doc.put("content", "This is a fairly long content for document " + i + " that should cause truncation."); documents.add(doc); } final String result = client.testBuildContext(documents); assertTrue(result.length() <= 300); // some overhead from header text }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0)