- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for boundary$ (0.31 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
source = response.source(), boundary = response.contentType()?.parameter("boundary") ?: throw ProtocolException("expected the Content-Type to have a boundary parameter"), ) @Throws(IOException::class) fun nextPart(): Part? { check(!closed) { "closed" } if (noMoreParts) return null // Read a boundary, skipping the remainder of the preceding part as necessary.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
*/ boolean contains(@Nonnull Version version); /** * Returns the upper boundary of this range, or {@code null} if none. */ @Nullable Boundary getUpperBoundary(); /** * Returns the lower boundary of this range, or {@code null} if none. */ @Nullable Boundary getLowerBoundary(); /** * {@return the string representation of this version} */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
} /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary * @param value the fill value for padding * @return the number of bytes added for alignment */ public int align(final int boundary, final byte value) { final int n = align(boundary); int i = n; while (i > 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (0) -
src/bytes/boundary_test.go
package bytes_test import ( . "bytes" "syscall" "testing" ) // This file tests the situation where byte operations are checking // data very near to a page boundary. We want to make sure those // operations do not read across the boundary and cause a page // fault where they shouldn't. // These tests run only on linux. The code being tested is // not OS-specific, so it does not need to be tested on all
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Click Count (0) -
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(),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 7.5K bytes - Click Count (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)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:48:41 GMT 2026 - 18.9K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
this.epoch = epoch; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("RqL2") // Padding: 4 bytes (to align data to 8-byte boundary) // Data: 52 bytes (lease V2 structure) return 16 + 4 + 4 + 52; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
assertNotNull(message, String.format("Message for code %d should not be null", code)); } } } @Nested @DisplayName("Boundary conditions") class Boundary { @Test void accessingInvalidIndexThrows() { assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(0, request.getData().length); } @Test @DisplayName("Should handle boundary conditions in encode") void testBoundaryConditions() { byte[] buffer = new byte[256]; byte[] name = "BOUNDARY".getBytes(StandardCharsets.UTF_8); TestCreateContextRequest request = new TestCreateContextRequest(name);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
verify(buffer2).dec_ndr_short(); assertEquals(75, ndrShort.value); } @Test @DisplayName("Should handle boundary values correctly") void testBoundaryValues() { // Test various boundary values assertEquals(0, new NdrShort(0).value); assertEquals(255, new NdrShort(255).value);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0)