Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 286 for isSame (0.67 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

            }
            mapTable = new Entry[initialCapacity];
            listTable = new Entry[initialCapacity];
            threshold = (int) (initialCapacity * LOAD_FACTOR);
        }
    
        /**
         * Constructs an instance with the same mappings as the specified {@link Map}.
         *
         * @param map
         *            the map whose mappings are to be placed in this map
         */
        public ArrayMap(final Map<? extends K, ? extends V> map) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should create response with same configuration")
            void testCreateResponseConfiguration() {
                Smb2LockResponse response = request.createResponse(mockContext, request);
                assertNotNull(response);
                // Response should be created with the same config from context
                verify(mockContext, times(1)).getConfig();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileAuthenticationBhv.java

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<FileAuthentication> selectPage(CBCall<FileAuthenticationCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<FileAuthentication>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<FileAuthenticationCB> cbLambda, EntityRowHandler<FileAuthentication> entityLambda) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            assertEquals((byte) 0x00, encoded[3], "Second byte of second character");
        }
    
        @Test
        public void testAsciiEncoding() throws Exception {
            String msg = "\u00A1\u00A2"; // same Unicode string
            byte[] asciiBytes = msg.getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            assertTrue(asciiBytes.length > 0, "ASCII encoding should produce bytes");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertNotNull(suggestItem);
            assertEquals(Float.MAX_VALUE, suggestItem.getUserBoost(), 0.001f);
        }
    
        @Test
        public void testGettersWithMutableLists() {
            // Test that getters return the same list references
            String word = "mutable test";
            float boost = 1.0f;
            List<String> readings = new ArrayList<>();
            readings.add("reading1");
            List<String> fields = new ArrayList<>();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top