Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 111 for BOUNDARY (1.4 sec)

  1. docs/changelogs/upgrading_to_okhttp_4.md

     * **MockWebServer**: bodyLimit, port, protocolNegotiationEnabled, protocols, requestCount,
       serverSocketFactory
     * **MultipartBody.Part**: body, headers
     * **MultipartBody.**: boundary, parts, size, type
     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                assertNotNull(rapidProvider);
            }
        }
    
        // Test boundary conditions for time adjustments
        public void test_boundaryTimeAdjustments() {
            // Test zero boundary
            testBoundaryValue(0L);
    
            // Test one millisecond boundaries
            testBoundaryValue(1L);
            testBoundaryValue(-1L);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            if (UPDATE_POLICY_ALWAYS.equals(updatePolicy)) {
                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
    
            result = response.readDataWireFormat(null, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test boundary conditions for buffer offsets")
        void testBoundaryConditions() {
            byte[] smallBuffer = new byte[10];
    
            // Test with maximum offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertEquals(TEST_DATA.length, bytesWritten);
            assertArrayEquals(TEST_DATA, dst);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat boundary check with offset")
        void testWriteDataWireFormatBoundaryWithOffset() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return size8(size, 0);
        }
    
        /**
         * Rounds up the size to the specified alignment.
         *
         * @param size the size to align
         * @param align the alignment boundary
         * @return the aligned size
         */
        protected static final int size8(final int size, final int align) {
    
            int rem = size % 8 - align;
            if (rem == 0) {
                return size;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    @NullUnmarked
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
        CacheBuilderSpec spec = parse("");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

                    Arguments.of(0xFFFFFFFF, "All bits set"));
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat buffer boundary")
        void testWriteParametersWireFormatBufferBoundary() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xFFFF, 0xFFFFFFFF);
            byte[] dst = new byte[8];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

                // String data in UTF-16LE
                buf.writeOctetArray(wideBytes, 0, wideBytes.length);
                buf.enc_ndr_short(0); // Wide null terminator
    
                // Pad to 4-byte boundary
                int padding = (4 - ((wideBytes.length + 2) % 4)) % 4;
                for (int i = 0; i < padding; i++) {
                    buf.enc_ndr_small(0);
                }
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top