Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for hashCode (0.23 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            hashCodes.add(CrawlerStatus.INITIALIZING.hashCode());
            hashCodes.add(CrawlerStatus.RUNNING.hashCode());
            hashCodes.add(CrawlerStatus.DONE.hashCode());
    
            // While not guaranteed, typically enum hashCodes are different
            assertTrue(hashCodes.size() > 1);
        }
    
        /**
         * Test compareTo method
         */
        public void test_compareTo() {
            // Compare with self
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Types.java

              .append('>')
              .toString();
        }
    
        @Override
        public int hashCode() {
          return (ownerType == null ? 0 : ownerType.hashCode())
              ^ argumentsList.hashCode()
              ^ rawType.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          if (!(other instanceof ParameterizedType)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

              .append('>')
              .toString();
        }
    
        @Override
        public int hashCode() {
          return (ownerType == null ? 0 : ownerType.hashCode())
              ^ argumentsList.hashCode()
              ^ rawType.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          if (!(other instanceof ParameterizedType)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                                 * augment the addresses name's hashCode to distinguish those resolved by
                                 * Lmhosts, WINS, or BCAST. Otherwise a failed query from say WINS would
                                 * get pulled out of the cache for a BCAST on the same name.
                                 */
                                response.addrEntry[0].hostName.srcHashCode = request.addr.hashCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                    this.options);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            if (this.fileId != null) {
                return (int) (Arrays.hashCode(this.fileId) + 3 * this.tree_num);
            }
            return (int) (this.fid + 3 * this.tree_num);
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

                return false;
            HandleGuid that = (HandleGuid) obj;
            return guid.equals(that.guid);
        }
    
        @Override
        public int hashCode() {
            return guid.hashCode();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

        public long getTreeNum() {
            return this.treeNum;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            return this.share.hashCode() + 7 * this.service.hashCode();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", password3);
    
            // Test equality with same password
            assertEquals(auth1, auth2);
            assertEquals(auth1.hashCode(), auth2.hashCode());
    
            // Test inequality with different password
            assertNotEquals(auth1, auth3);
    
            // Test after password wipe
            auth1.secureWipePassword();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java

        }
    
        @Override
        protected long getBufferAddress(ByteBuffer buffer) {
            // Return a fake address for TCP
            // In real RDMA implementations, this would be the native memory address
            return buffer.hashCode();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            }
    
            // Use context handle bytes to create a unique ID
            StringBuilder sb = new StringBuilder("WITNESS-");
            for (int i = 0; i < Math.min(contextHandle.length, 8); i++) {
                sb.append(String.format("%02X", contextHandle[i] & 0xFF));
            }
            sb.append("-").append(shareName.hashCode());
    
            return sb.toString();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top