Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 1,228 for Equals (0.03 sec)

  1. src/test/java/jcifs/EncodableTest.java

            // Assert: reported written bytes matches size() and requested len.
            assertEquals(len, enc.size(), "size() must equal provided length");
            assertEquals(len, written, "encode() must return number of bytes written");
    
            // Assert: copied region equals the source slice.
            for (int i = 0; i < len; i++) {
                assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         */
        protected boolean isHtml(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if ("text/html".equals(mimeType) || "application/xhtml+xml".equals(mimeType)) {
                return true;
            }
            return false;
        }
    
        /**
         * Adds a rule for extracting child URLs from HTML tags.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/GroupService.java

            });
    
            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
        /**
         * Sets up the search conditions for group list queries based on pager criteria.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NodeStatusResponse.java

                 */
                if (!addrFound && this.queryAddress.hostName.hexCode == hexCode
                        && (this.queryAddress.hostName.isUnknown() || this.queryAddress.hostName.name.equals(n))) {
    
                    if (this.queryAddress.hostName.isUnknown()) {
                        this.queryAddress.hostName = new Name(this.config, n, hexCode, scope);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

       * example, {@code [] < [1L] < [1L, 2L] < [2L]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(long[],
       * long[])}.
       *
       * @since 2.0
       */
      public static Comparator<long[]> lexicographicalComparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertNotNull(result3);
            assertEquals(128, result3.length());
    
            // Test that different inputs produce different results
            assertFalse(result1.equals(result2));
            assertFalse(result2.equals(result3));
            assertFalse(result1.equals(result3));
        }
    
        public void test_generateId_consistentResults() {
            String input = "http://example.com/test/path?param=value";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

            this.key = Arrays.copyOf(key, 16);
        }
        
        public byte[] getKey() {
            return Arrays.copyOf(key, 16);
        }
        
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof Smb2LeaseKey) {
                return Arrays.equals(key, ((Smb2LeaseKey)obj).key);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return Arrays.hashCode(key);
        }
    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

          hashCode = ~~hashCode;
          // needed to deal with GWT integer overflow
        }
        return hashCode;
      }
    
      /** An implementation of {@link List#equals(Object)}. */
      static boolean equalsImpl(List<?> thisList, @Nullable Object other) {
        if (other == checkNotNull(thisList)) {
          return true;
        }
        if (!(other instanceof List)) {
          return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Verify the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_throwAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

      }
    
      private static final class PrintingEventListener extends EventListener {
        long callStartNanos;
    
        private void printEvent(String name) {
          long nowNanos = System.nanoTime();
          if (name.equals("callStart")) {
            callStartNanos = nowNanos;
          }
          long elapsedNanos = nowNanos - callStartNanos;
          System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name);
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
Back to top