Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 491 for hashCodes (0.05 sec)

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

            assertNotEquals(auth1, new Object());
        }
    
        // Test hashCode method
        @Test
        void testHashCode() {
            NtlmPasswordAuthentication auth1 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            NtlmPasswordAuthentication auth2 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            assertEquals(auth1.hashCode(), auth2.hashCode());
        }
    
        // Test getPreNTLMResponse
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingObject.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. The {@link
     * #delegate()} method must be overridden to return the instance being decorated.
     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
     * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        byte[] bytes() {
          return out.toByteArray();
        }
    
        void assertBytes(byte[] expected) {
          assertArrayEquals(expected, bytes());
        }
    
        @Override
        public HashCode hash() {
          return HashCode.fromBytesNoCopy(bytes());
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractValueGraph.java

        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edgeValueMap(this).equals(edgeValueMap(other));
      }
    
      @Override
      public final int hashCode() {
        return edgeValueMap(this).hashCode();
      }
    
      /** Returns a string representation of this graph. */
      @Override
      public String toString() {
        return "isDirected: "
            + isDirected()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingObject.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. The {@link
     * #delegate()} method must be overridden to return the instance being decorated.
     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
     * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
          return Integer.compare(hash, that.hash);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            info3.setInterfaceIndex(2);
    
            assertEquals(info1, info2);
            assertNotEquals(info1, info3);
            assertEquals(info1.hashCode(), info2.hashCode());
        }
    
        @Test
        void testToString() {
            NetworkInterfaceInfo info = new NetworkInterfaceInfo(testAddress, 1000);
            String str = info.toString();
    
            assertNotNull(str);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top