Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 491 for hashCodes (0.05 sec)

  1. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), Arrays.hashCode(outputs));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        verify(hasher).putBytes(expectedBytes, 0, 4);
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testHash_hashesCorrectly() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(testBytes);
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        verify(hasher).putBytes(expectedBytes, 0, 4);
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testHash_hashesCorrectly() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(testBytes);
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
          }
    
          @Override
          public String toString() {
            return getKey() + "=" + getValue();
          }
        };
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

        // #pending hashCode(), equals()
        @Override
        public int instanceHash() {
            return super.hashCode();
        }
    
        @Override
        public String toString() {
            return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode());
        }
    
        protected abstract String doBuildColumnString(String dm);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> tentativeArgs = new ArrayList<>(args);
        tentativeArgs.set(i, alternateArg);
        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ReverseOrdering.java

        return forwardOrder.min(iterator);
      }
    
      @Override
      public <E extends T> E max(Iterable<E> iterable) {
        return forwardOrder.min(iterable);
      }
    
      @Override
      public int hashCode() {
        return -forwardOrder.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ReverseOrdering) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                      return runnable.equals(that.runnable);
                    }
                    return false;
                  }
    
                  @Override
                  public int hashCode() {
                    return runnable.hashCode();
                  }
                };
              }
            });
      }
    
      public void testFailsToForwardEquals() {
        tester.includingEquals();
        assertFailure(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test the hashCode method.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testHashCode() throws SmbException {
            SID sid1 = new SID(adminSidString);
            SID sid2 = new SID(adminSidBytes, 0);
            SID sid3 = new SID("S-1-1-0");
    
            assertEquals(sid1.hashCode(), sid2.hashCode());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top