Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 291 for isSame (1.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/ACE.java

     * the access mask of the ACE, the access check is successful. Otherwise,
     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <code>WNET\alice</code> tries to open a file
     * with desired access bits <code>0x00000003</code> (<code>FILE_READ_DATA |
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java

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

            return facadeSelectList(createCB(cbLambda));
        }
    
        public PagingResultBean<SearchLog> selectPage(CBCall<SearchLogCB> cbLambda) {
            // #pending same?
            return (PagingResultBean<SearchLog>) facadeSelectList(createCB(cbLambda));
        }
    
        public void selectCursor(CBCall<SearchLogCB> cbLambda, EntityRowHandler<SearchLog> 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)
  8. 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)
  9. 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)
  10. 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)
Back to top