- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 104 for boundary$ (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun multipartBody() { val multipartBody: MultipartBody = MultipartBody.Builder().build() val type: MediaType = multipartBody.type() val boundary: String = multipartBody.boundary() val size: Int = multipartBody.size() val parts: List<MultipartBody.Part> = multipartBody.parts() } @Test @Disabled fun multipartBodyPart() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
@Override public byte[] getBoundary(final String contentType) { // for security final byte[] boundary = super.getBoundary(contentType); checkBoundarySize(contentType, boundary); return boundary; } }; } // #for_now jflute to suppress CVE-2014-0050 even if commons-fileupload is older than safety version (2024/09/08)Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
} @Test fun testParse() { val mediaType = parse("text/plain;boundary=foo;charset=utf-8") assertEquals("text", mediaType.type) assertEquals("plain", mediaType.subtype) assertEquals("UTF-8", mediaType.charsetName()) assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString()) assertEquals(mediaType, parse("text/plain;boundary=foo;charset=utf-8")) assertEquals( mediaType.hashCode(),
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
/** * Indicates that the referral contains a name list. */ public static final int FLAGS_NAME_LIST_REFERRAL = 0x0002; /** * Indicates a target set boundary in the referral response. */ public static final int FLAGS_TARGET_SET_BOUNDARY = 0x0004; /** * Indicates root targets in the DFS referral. */ public static final int TYPE_ROOT_TARGETS = 0x0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Then assertEquals(expectedMid, actualMid); verify(messageBlock).setMid(expectedMid); verify(messageBlock).getMid(); } @Test @DisplayName("Test setMid with boundary values") void testSetMidWithBoundaryValues() { // Test with MAX_VALUE long maxMid = Long.MAX_VALUE; doNothing().when(messageBlock).setMid(maxMid);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
this.leaseFlags = leaseFlags; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqLs") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 32 bytes (lease V1 structure) return 16 + 4 + 4 + 32; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
* * The implementation contains only trivial methods that return {@code 0} * or construct a string representation. The tests focus on: * * <ul> * <li>happy‑path behaviour</li> * <li>boundary arguments (e.g., negative indices, large values)</li> * <li>string representation containing the class name</li> * <li>null buffer handling</li> * </ul> */ final class TransWaitNamedPipeResponseTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(0x11, SMBUtil.readInt4(buffer, 16)); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle encoding at buffer boundary") void testEncodingAtBufferBoundary() { byte[] smallBuffer = new byte[24]; lock = new Smb2Lock(100L, 200L, 1);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
assertEquals(8, bytesEncoded); assertEquals(0L, SMBUtil.readInt8(destinationBuffer, 0)); } @Test @DisplayName("Test boundary values for index number") void testBoundaryValuesForIndexNumber() throws SMBProtocolDecodingException { // Test various boundary values long[] testValues = { 0L, // Zero 1L, // One -1L, // Negative one
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)