Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for Equal (0.26 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
            assertEquals(len, getFieldValue(write, "count"), "Count should equal len");
        }
    
        /**
         * Test setParam method updates the write parameters
         */
        @Test
        public void testSetParam() {
            // Arrange
            SmbComWrite write = new SmbComWrite();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        }
    
        /**
         * Compares this wrapper to another object for equality.
         * Equality is determined by the wrapped factory.
         * @param obj The object to compare.
         * @return true if equal, false otherwise.
         */
        @Override
        public boolean equals(final Object obj) {
            return factory.equals(obj);
        }
    
        /**
         * Returns a string representation of this wrapper.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  3. src/test/java/jcifs/smb/SIDTest.java

                assertTrue(s.startsWith("S-1-0x010203040506"));
                assertTrue(s.endsWith("-7-8"));
            }
    
            @Test
            @DisplayName("equals and hashCode for equal and non-equal SIDs")
            void testEqualsAndHashCode() throws Exception {
                SID a1 = new SID("S-1-5-21-1-2-3-4");
                SID a2 = new SID("S-1-5-21-1-2-3-4");
                SID b = new SID("S-1-5-21-1-2-3-5");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            if (rssCapable)
                score += 1000; // Prefer RSS-capable
            if (rdmaCapable)
                score += 2000; // Prefer RDMA-capable
            // Note: No IPv4 preference bonus to keep base score equal to link speed
    
            return score;
        }
    
        /**
         * Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response
         *
         * @return encoded bytes
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
        /**
         * Compares two <code>NtlmPasswordAuthentication</code> objects for equality.
         *
         * Two <code>NtlmPasswordAuthentication</code> objects are equal if their caseless domain and username fields are equal
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof NtlmPasswordAuthenticator ntlm) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

         * hashcode.
         */
    
        @Override
        public int hashCode() {
            return this.address;
        }
    
        /**
         * Determines if this address is equal two another. Only the IP Addresses
         * are compared. Similar to the {@link #hashCode} method, the comparison
         * is based on the integer IP address and not the string representation.
         */
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/CryptoTest.java

            // Then
            assertNotNull(random1);
            assertNotNull(random2);
            assertEquals(length, random1.length);
            assertEquals(length, random2.length);
            // Very unlikely to be equal
            assertNotEquals(new String(random1), new String(random2));
        }
    
        @Test
        @DisplayName("Should handle AES encryption operations")
        void testAESOperations() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DosErrorTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
                String s = msgs[-1];
            });
    
            // Act & Assert: index equal to length
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
                String s = msgs[msgs.length];
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertTrue(dfsRootEnum.isFlagSet(DcerpcConstants.DCERPC_FIRST_FRAG));
            assertTrue(dfsRootEnum.isFlagSet(DcerpcConstants.DCERPC_LAST_FRAG));
    
            // Combined flags should equal FIRST_FRAG | LAST_FRAG
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
            assertEquals(expectedFlags, dfsRootEnum.getFlags());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        /**
         * Returns {@literal true} if the two arrays are equal, ignoring the order of elements.
         *
         * @param <T>
         *            the type of the array elements
         * @param array1
         *            the first array
         * @param array2
         *            the second array
         * @return {@literal true} if the two arrays are equal, ignoring the order of elements
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
Back to top