Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 286 for isSame (0.9 sec)

  1. src/main/java/jcifs/util/Hexdump.java

         */
        public static String toHexString(final byte[] data) {
            return toHexString(data, 0, data.length);
        }
    
        /**
         * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
         * java.lang.String} concatenation and {@link java.lang.StringBuffer}.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        }
    
        @Test
        void testLoadBalancerAccess() {
            ChannelLoadBalancer balancer = channelManager.getLoadBalancer();
            assertNotNull(balancer);
    
            // Should return same instance
            assertSame(balancer, channelManager.getLoadBalancer());
        }
    
        @Test
        void testChannelFailureHandling() throws UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            CredentialsInternal renewed = impl.renew();
    
            // Assert: verify behavior based on scenario
            if (expectSame) {
                assertSame(impl, renewed, "renew() should return the same instance");
            } else if (expectNew) {
                assertNotNull(renewed, "renew() should return a new non-null instance");
                assertNotSame(impl, renewed, "renew() should return a different instance");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertNotNull(response.getInfo());
            assertTrue(response.getInfo() instanceof FileInternalInfo);
        }
    
        @Test
        @DisplayName("Test multiple calls to getInfo return same instance")
        void testMultipleGetInfoCalls() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            // Use reflection to set the info field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(1, notifications.size());
            assertEquals("offset_test.txt", notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Test getNotifyInformation returns same list instance")
        void testGetNotifyInformationReturnsSameInstance() {
            List<FileNotifyInformation> list1 = response.getNotifyInformation();
            List<FileNotifyInformation> list2 = response.getNotifyInformation();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Hexdump.java

                if (j == c.length) {
                    break;
                }
                c[j++] = HEX_DIGITS[src[i] & 0x0F];
            }
            return new String(c);
        }
    
        /**
         * This is the same as {@link jcifs.smb1.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
         * java.lang.String} concatenation and {@link java.lang.StringBuffer}.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] languages1 = { "en" };
    
            SuggestItem item1 = new SuggestItem(text1, readings1, null, 50L, 100L, 2.0f, tags1, roles1, languages1, SuggestItem.Kind.QUERY);
    
            String[] text2 = { "item1" }; // Same text for same ID
            String[][] readings2 = { { "read2" } };
            String[] tags2 = { "tag2" };
            String[] roles2 = { "role2" };
            String[] languages2 = { "ja" };
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act
            TestIterator it = TestIterator.create(tree, parent, wildcard, null, attrs, initial, pages);
    
            // Assert
            assertSame(tree, it.getTreeHandle(), "tree handle should be same instance returned by acquire");
            assertEquals(attrs, it.getSearchAttributes());
            assertEquals(wildcard, it.getWildcard());
            assertSame(parent, it.getParent());
            verify(tree, times(1)).acquire();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

     *
     * <p>Duplicate host configurations allow administrators to define hostname patterns
     * that should be treated as equivalent during crawling. This helps avoid indexing
     * duplicate content from the same logical site that may be accessible via different
     * hostnames (e.g., www.example.com and example.com).</p>
     */
    public class DuplicateHostService extends FessAppService {
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            response.readParameterWordsWireFormat(buffer2, 0);
            assertEquals(32L, response.getOffset(), "Second read should update offset to 32");
        }
    
        @Test
        @DisplayName("getOffset returns same value on multiple calls")
        void testGetOffsetConsistency() {
            byte[] buffer = new byte[] { 0x42, 0x00, 0x00, 0x00 }; // 66
            response.readParameterWordsWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top