Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 111 for BOUNDARY (0.88 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            int size = request.size();
    
            // Then - Header (64) + Structure (36) + Dialects (4 * 2) = 108, padded to 8-byte boundary = 112
            assertEquals(112, size);
        }
    
        @Test
        @DisplayName("Should calculate size correctly with contexts")
        void testSizeWithContexts() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            notifyChange.writeSetupWireFormat(dst, 0);
    
            assertEquals(combinedFilter, SMBUtil.readInt4(dst, 0));
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat at buffer boundary")
        void testWriteSetupWireFormatBufferBoundary() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true);
            byte[] dst = new byte[8]; // Exact size needed
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0);
    
            // Assert
            assertEquals(result1, result2);
            assertArrayEquals(dst1, dst2);
        }
    
        @Test
        @DisplayName("Boundary test for writeSetupWireFormat with minimum buffer")
        void testWriteSetupWireFormatMinimumBuffer() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        mockWebServer.close()
      }
    
      @Test
      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
        val part: MultipartBody.Part = multipartBody.part(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  5. src/main/resources/fess_config.properties

    query.highlight.tag.pre=<strong>
    # Tag to use after highlighted text.
    query.highlight.tag.post=</strong>
    # Boundary characters for query highlighting.
    query.highlight.boundary.chars=u0009u000Au0013u0020
    # Maximum scan for query highlight boundaries.
    query.highlight.boundary.max.scan=20
    # Scanner type for query highlight boundaries.
    query.highlight.boundary.scanner=chars
    # Encoder type for query highlighting.
    query.highlight.encoder=default
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                    assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified");
                }
            }
    
            @Test
            @DisplayName("Should handle encoding at buffer boundary")
            void testEncodeAtBufferBoundary() {
                // Given
                byte[] exactBuffer = new byte[EXPECTED_SIZE];
                SrvCopychunk chunk = new SrvCopychunk(999L, 888L, 777);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
            assertEquals(expectedAlignedSize, request.size());
        }
    
        @Test
        @DisplayName("writeBytesWireFormat should write correct structure")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            int writtenFid = SMBUtil.readInt2(buffer, offset + 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle buffer boundary")
        void testWriteSetupWireFormatAtBufferEnd() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] buffer = new byte[4];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

            val part = multipartReader.nextPart() ?: break
            process(part.headers, part.body)
          }
        }
        ```
    
     *  New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like
        `multipart/mixed; boundary="abc"`.
    
     *  New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to
        `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection`
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 8, Smb2QueryDirectoryResponse.OVERHEAD);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with buffer boundary conditions")
        void testReadBytesWireFormatBufferBoundary() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top