Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 277 for samme (4.25 sec)

  1. src/test/java/jcifs/util/StringsTest.java

                assertEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE).length, result.length, "Length should match UTF-16LE encoding");
                assertArrayEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE), result, "Should produce same bytes as UTF-16LE encoding");
            }
    
            @Test
            @DisplayName("getUNIBytes should handle Unicode characters correctly")
            void testGetUNIBytesWithUnicode() {
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(999, response.getCount());
                assertEquals(111, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should create new instance with same config")
            void testMultipleInstancesWithSameConfig() throws SMBProtocolDecodingException {
                Smb2WriteResponse response1 = new Smb2WriteResponse(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            buffer.putShort(0, (short) content.length); // Length
            buffer.putShort(2, (short) content.length); // MaxLength (not used by readSecurityBuffer, but typically same as length)
            buffer.putInt(4, 8); // Offset
    
            System.arraycopy(content, 0, data, 8, content.length); // Place content at offset 8
    
            byte[] result = NtlmMessage.readSecurityBuffer(data, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // When - write multiple times
            for (int i = 0; i < 10; i++) {
                request.writeBytesWireFormat(buffer, i * 10);
            }
    
            // Then - all should have same structure size
            for (int i = 0; i < 10; i++) {
                assertEquals(4, SMBUtil.readInt2(buffer, i * 10));
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBUtil.writeInt2(0, buffer, 2);
    
            // When - simulate multiple concurrent reads on same response object
            int read1 = response.readBytesWireFormat(buffer, 0);
            int read2 = response.readBytesWireFormat(buffer, 0);
            int read3 = response.readBytesWireFormat(buffer, 0);
    
            // Then - all reads should return same result
            assertEquals(4, read1);
            assertEquals(4, read2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<DataConfig> selectPage(CBCall<DataConfigCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<DataConfig>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<DataConfigCB> cbLambda, EntityRowHandler<DataConfig> entityLambda) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<LabelType> selectPage(CBCall<LabelTypeCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<LabelType>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<LabelTypeCB> cbLambda, EntityRowHandler<LabelType> entityLambda) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * server address, the canonical representation of the URL, and does not
         * compare authentication information. In essance, two
         * <code>SmbFile</code> objects that refer to
         * the same file should generate the same hashcode provided it is possible
         * to make such a determination.
         *
         * @return  A hashcode for this abstract file
         */
    
        @Override
        public int hashCode() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertEquals(8, result);
            assertNotNull(response.getResults());
        }
    
        @Test
        @DisplayName("Test multiple calls to getResults return same instance")
        void testMultipleGetResultsCalls() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
            // Use reflection to set the results field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtStatusTest.java

            // When
            String[] messages = NtStatus.NT_STATUS_MESSAGES;
    
            // Then
            assertNotNull(messages);
            assertTrue(messages.length > 0);
            // Should have same length as codes array
            assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length);
    
            // First message should be for success
            assertNotNull(messages[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top